package com.congiya.weather;

import java.util.HashMap;


public class WeatherRegionBO {

	private WeatherRegionDAO wrDAO;
	
	public void setWrDAO(WeatherRegionDAO wrDAO) {
		this.wrDAO = wrDAO;
	}	
	/*
	public WeatherRegionVO getStaffDetail(HashMap map) {
		
		return wrDao.getStaffDetail(map);
	}

	public int removeMember(HashMap mapData) throws Exception{
		
		int resultRow = 0;
		
		// 회원삭제
		resultRow = wrDao.removeMember((String)mapData.get ( "memberId" ));
		if(resultRow != 1){
			throw new Exception();
		}		
		// 회원삭제이력 테이블 저장		
		resultRow = wrDao.addDeleteMember(mapData);
		if(resultRow != 1){
			throw new Exception();
		}		
		return resultRow;
	}	

	public WeatherRegionVO getMyinfo(HashMap map) {
		return wrDao.getMyinfo(map);
	}
	*/
	
	public WeatherRegionVO getWeatherRegionVO(HashMap<String, String> map) {
		
		return wrDAO.getWeatherRegionVO(map);	
	}
	
}
